package com.elitesland.metadata.convert;

import com.elitesland.metadata.entity.MetaFieldDO;
import com.elitesland.metadata.param.MetaFieldSaveParam;
import com.elitesland.metadata.vo.MetaFieldVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * <pre>作用说明</pre>
 *
 * @author mir
 * @date 11/21/2020 2:32 AM
 */
@Mapper
public interface MetaFieldConvert {

    MetaFieldConvert INSTANCE = Mappers.getMapper(MetaFieldConvert.class);

    MetaFieldVO doToVO(MetaFieldDO metaField);

    MetaFieldDO voToDO(MetaFieldVO metaField);

    MetaFieldDO saveToDO(MetaFieldSaveParam param);
}
